package biz;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.example.bean.HomePostsInfo;
import org.example.bean.ReplyPostsInfo;

import java.util.List;

public interface HomePostsBiz {
    List<HomePostsInfo> findHomePostsByForumsId(int id);
    void saveHomePosts(HomePostsInfo hpi);

    HomePostsInfo findHomePostById(int id);
    List<ReplyPostsInfo> findReplyPostsByHomePostId(int id);
    void saveReply(ReplyPostsInfo rpi);
}
